﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace ConsoleApplication1
{
    class Score
    {

#region champs
        private string Name;

        public string name
        {
            get { return Name; }
            set { Name = value; }
        }

        private int Points;

        public int points
        {
            get { return Points; }
            set { Points = value; }
        }

        private DateTime Date;

        public DateTime date
        {
            get { return Date; }
            set { Date = value; }
        }
#endregion



#region constructeur
        public Score(string name, int score, DateTime date)
        {
            this.name = name;
            this.points = score;
            this.date = date;
        }
#endregion
        public override string ToString()
        {
            return string.Format("{0} {1}  {2}", this.name, this.points, this.date);
        }



        



    }
}
